
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加图书</title>
    <%--bootStrap导入:用来美化界面--%>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改考勤</small>
                </h1>
            </div>
        </div>
    </div>
</div>
<form action="${pageContext.request.contextPath}/attendance/update" method="post">
    <input value="${QAttendance.id}" name="id" type="hidden">
    <div class="form-group">
        <label for="AttendanceName">学生</label>
        <input type="text" class="form-control" name="name" id="AttendanceName" required value="${QAttendance.name}">
    </div>
    <div class="form-group">
        <label for="Accounts">考勤状态：输入0（缺勤）1（已签到）</label>
        <input type="text" class="form-control" name="status" id="Accounts" required value="${QAttendance.status}">
    </div>
    <div class="form-group">
        <label for="password">考勤时间</label>
        <input type="datetime-local"  name="time.toString()" id="password" required value="${QAttendance.time.toString()}">
    </div>
    <button type="submit" class="btn btn-success">确认提交</button>
</form>
</body>
</html>
